package com.itshidu.jiaowu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author XiaZengming123
 * @since 2019-07-18
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class Violate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 处理人的id
     */
    @TableField("handler_id")
    private Long handlerId;
    /**
     * 学生id
     */
    @TableField("student_id")
    private Long studentId;
    /**
     * 处分原因
     */
    private String reason;
    /**
     * 分数扣除
     */
    private Integer score;
    private Date created;

}
